import { QUERY_USER_DATA } from '../constants';
export default (state = {}, action) => {
  switch (action.type) {
    case QUERY_USER_DATA:
      return Object.assign({}, state, action.data);
    default:
      return state;
  }
};
